import request from '@/utils/request'
import {IUser,UserPageType} from '@/types/users'
export default{
    login:(data:IUser)=>request.post('/users/login',data),
    getAuthMenus:()=>request.get('/menus/getAuthMenus'),
    getUsers:(params:UserPageType)=>request.get("/users/getUsers",{params})
}